﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="manageClass.aspx.cs" Inherits="Com.CMS263.Web.manage.manageClass" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
    <link href="style/main.css" rel="stylesheet" type="text/css" />
    <link href="common/validator.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server" >
    <div>
    <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_1">
                <tr>
                    <td height="23" colspan="2" class="table_2">
                        产品招生信息&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="addClass.aspx">添加课程</a> </td>
                </tr>
                <tr>
                    <td height="23" colspan="2" class="tdside">
                        &nbsp;</td>
                </tr>
                <tr>
                    
                    <td class="tdside" align="center">
                        <asp:GridView ID="GridView1" Width="100%" runat="server" AutoGenerateColumns="False" OnRowCommand="GridView1_RowCommand" AllowPaging="True"  PageSize="100">
                            <Columns>
                                <asp:BoundField DataField="Id" HeaderText="编号" SortExpression="Id" />
                                <asp:BoundField DataField="typeName" HeaderText="课程分类" SortExpression="typeName" />
                                 <asp:BoundField DataField="title" HeaderText="课程名" SortExpression="title" />
                                <asp:TemplateField HeaderText="编辑">
                                    <ItemTemplate>
                                        
                                           <a href="modClass.aspx?id=<%#Eval("id") %>">编辑</a>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="删除">
                                    <ItemTemplate>
                                        <asp:Button ID="btnDel" runat="server" CommandArgument='<%#Eval("id") %>' CommandName="btnDel"
                                            Text="删除" OnClientClick='return confirm("确认删除吗？");' />
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                <td class="tdside" align="right">
                <%=GetPager() %></td>
                </tr>
             
                
                </table>
    </div>
    </form>
</body>
</html>

